package com.dxy.utils;

import com.dxy.bean.User;

import javax.servlet.http.HttpSession;

/**
 * @author DELL
 */
public class UserInformationUtil {
    public static void setWxUser(HttpSession session, User user){
        session.setAttribute("wxUser",user);
    }
    public static User getWxUser(HttpSession session){
        return (User) session.getAttribute("wxUser");
    }

}
